package edu.chinasoft.service;

import edu.chinasoft.domain.PageUnitForUser;
import edu.chinasoft.domain.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    Boolean insertUser(User user);
    List<User> selectUserByUserName(User user);

    User selectUserByNameAndPassword(User user);

    PageUnitForUser getRecordNum();
    List<User> selectUnitUser(Map<String,Object> map);

    boolean deleteUserById(User user);

    boolean updateUserByUserId(User user);

    User selectUserById(User user);

    boolean updateUserStatusById(User user);

}
